package sctu.edu.java.year2016.team01.xuhanmei.day20160524.practice4;

/**
 * Created by Administrator on 2016/5/24.
 */
public class Buffer {
    public static void main(String[] args) {
        StringBuffer buffer = new StringBuffer("sunday");

        StringBuilder builder = new StringBuilder();//生成器

        builder.append(buffer);//将缓存中的值追加到字符串生成器中
        System.out.println("追加后的值是：" + builder);
    }
}
